package com.qf.client;

import com.qf.loanapplication.Loanapplication;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Date;
import java.util.List;
import java.util.Map;

@FeignClient(serviceId = "credit-loanapplication")
public interface LoanapplicationClient {

    /*申请贷款账单*/
    @RequestMapping("/reOrder")
    public List<Loanapplication> reOrder(@RequestBody Map map);

    /*根据订单号查询出某条具体的订单*/
    @RequestMapping("/findTime")
    public Date findTime(@RequestBody Map map);
}
